package service;

import org.springframework.stereotype.Controller;
import pojo.User;

import javax.annotation.Resource;

@Controller
public class UserService {

    public  void printUser(User user)
    {
        System.out.println("姓名:"+user.name);
        System.out.println("学号:"+user.id);
        System.out.println("密码:"+user.password);
    }

}
